package dfbz.demo;

public class Test03 {
    public static void main(String[] args) {
        printrectangle(5,5);
    }
    public static void printrectangle(int y,int z){
        for (int i = 1; i <=z ; i++) {
            for (int j = 1; j <= y; j++) {
                System.out.print("* ");
            }
            System.out.println();
        }
    }
}
